﻿#ifndef _SCREENSCUTCHEONEVENTOBJECT_H
#define _SCREENSCUTCHEONEVENTOBJECT_H

#include "screenscutcheonevent.h"


            class  CScreenScutcheonEventObject :  public EarthView::World::Core::CEventObject
            {

  public:
                /// <summary>
                /// 构造函数
                /// </summary>
                CScreenScutcheonEventObject();

                /// <summary>
                /// 析构函数
                /// </summary>
                ~CScreenScutcheonEventObject();

                /// <summary>
                /// 鼠标按下响应事件
                /// </summary>
                /// <param name="e">事件</param>
                virtual bool onMouseDownEvent(CScreenScutcheonEvent* e);

                /// <summary>
                /// 鼠标移动响应事件
                /// </summary>
                /// <param name="e">事件</param>
                virtual bool onMouseMoveEvent(CScreenScutcheonEvent* e);

                /// <summary>
                /// 鼠标弹起响应事件
                /// </summary>
                /// <param name="e">事件</param>
                virtual bool onMouseUpEvent(CScreenScutcheonEvent* e);

                /// <summary>
                /// 鼠标滚轮响应事件
                /// </summary>
                /// <param name="e">事件</param>
                virtual bool onMouseWheelEvent(CScreenScutcheonEvent* e);

                /// <summary>
                /// 键盘按下响应事件
                /// </summary>
                /// <param name="e">事件</param>
                virtual bool onKeyDownEvent(CScreenScutcheonEvent* e);

                /// <summary>
                /// 键盘弹起响应事件
                /// </summary>
                /// <param name="e">事件</param>
                virtual bool onKeyUpEvent(CScreenScutcheonEvent* e);

                /// <summary>
                /// 标牌选中响应事件
                /// </summary>
                /// <param name="e">事件</param>
                virtual bool onSelectedEvent(CScreenScutcheonEvent* e);

ev_internal:
                /// <summary>
                /// 事件处理函数，可重载
                /// </summary>
                /// <param name="e">事件</param>
                /// <returns>已处理返回true，否则返回false</returns>
                virtual ev_bool onEvent(_in EarthView::World::Core::CEvent *e);
            };

#endif

